#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>

char* my_strcpy(char* dest, char* source)
{
	assert(dest && source);
		char* ret = dest;
	while (*dest++ = *source++)
	{
		;
	}
	return ret;
}


int main()
{
	char arr[30] = "abcdef";
	char str[] = "hello";
	char* ret = my_strcpy(arr, str);
	printf("%s", ret);
	return 0;
}